<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "set_user_up".
 *
 * @property int $id
 * @property float $vip1 购买金额
 * @property float|null $vip2
 * @property float|null $vip3
 * @property float|null $vip4
 * @property float|null $vip5
 * @property float|null $vip6
 * @property float|null $r_vip1 推荐奖
 * @property float|null $r_vip2
 * @property float|null $r_vip3
 * @property float|null $r_vip4
 * @property float|null $r_vip5
 * @property float|null $r_vip6
 * @property float|null $m_vip1 管理奖
 * @property float|null $m_vip2
 * @property float|null $m_vip3
 * @property float|null $m_vip4
 * @property float|null $m_vip5
 * @property float|null $m_vip6
 * @property float|null $b_vip1 包裹奖
 * @property float|null $b_vip2
 * @property float|null $b_vip3
 * @property float|null $b_vip4
 * @property float|null $b_vip5
 * @property float|null $b_vip6
 * @property float|null $a_vip1 地区包裹奖
 * @property float|null $a_vip2
 * @property float|null $a_vip3
 * @property float|null $a_vip4
 * @property float|null $a_vip5
 * @property float|null $a_vip6
 * @property float|null $p_vip1 分红
 * @property float|null $p_vip2
 * @property float|null $p_vip3
 * @property float|null $p_vip4
 * @property float|null $p_vip5
 * @property float|null $p_vip6
 * @property float|null $px_vip1 分红上限
 * @property float|null $px_vip2
 * @property float|null $px_vip3
 * @property float|null $px_vip4
 * @property float|null $px_vip5
 * @property float|null $px_vip6
 * @property float|null $re_vip1 复购折扣
 * @property float|null $re_vip2
 * @property float|null $re_vip3
 * @property float|null $re_vip4
 * @property float|null $re_vip5
 * @property float|null $re_vip6
 * @property float|null $re_r_vip1 复购销售奖
 * @property float|null $re_r_vip2
 * @property float|null $re_r_vip3
 * @property float|null $re_r_vip4
 * @property float|null $re_r_vip5
 * @property float|null $re_r_vip6
 * @property float|null $re_m_vip1 复购服务奖
 * @property float|null $re_m_vip2
 * @property float|null $re_m_vip3
 * @property float|null $re_m_vip4
 * @property float|null $re_m_vip5
 * @property float|null $re_m_vip6
 * @property float|null $re_e_vip1 复购平级奖
 * @property float|null $re_e_vip2
 * @property float|null $re_e_vip3
 * @property float|null $re_e_vip4
 * @property float|null $re_e_vip5
 * @property float|null $re_e_vip6
 * @property float|null $re_b_vip1 复购地区包裹奖
 * @property float|null $re_b_vip2
 * @property float|null $re_b_vip3
 * @property float|null $re_b_vip4
 * @property float|null $re_b_vip5
 * @property float|null $re_b_vip6
 * @property float|null $re_p_vip1 复购分红
 * @property float|null $re_p_vip2
 * @property float|null $re_p_vip3
 * @property float|null $re_p_vip4
 * @property float|null $re_p_vip5
 * @property float|null $re_p_vip6
 * @property float|null $re_px_vip1 复购分红倍数
 * @property float|null $re_px_vip2
 * @property float|null $re_px_vip3
 * @property float|null $re_px_vip4
 * @property float|null $re_px_vip5
 * @property float|null $re_px_vip6
 */
class SetUserUp extends \yii\db\ActiveRecord
{
    use SetUserUpCommon;

    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'set_user_up';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['vip1', 'vip2', 'vip3', 'vip4', 'vip5', 'vip6', 'r_vip1', 'r_vip2', 'r_vip3', 'r_vip4', 'r_vip5', 'r_vip6', 'm_vip1', 'm_vip2', 'm_vip3', 'm_vip4', 'm_vip5', 'm_vip6', 'b_vip1', 'b_vip2', 'b_vip3', 'b_vip4', 'b_vip5', 'b_vip6', 'a_vip1', 'a_vip2', 'a_vip3', 'a_vip4', 'a_vip5', 'a_vip6', 'p_vip1', 'p_vip2', 'p_vip3', 'p_vip4', 'p_vip5', 'p_vip6', 'px_vip1', 'px_vip2', 'px_vip3', 'px_vip4', 'px_vip5', 'px_vip6', 're_vip1', 're_vip2', 're_vip3', 're_vip4', 're_vip5', 're_vip6', 're_r_vip1', 're_r_vip2', 're_r_vip3', 're_r_vip4', 're_r_vip5', 're_r_vip6', 're_m_vip1', 're_m_vip2', 're_m_vip3', 're_m_vip4', 're_m_vip5', 're_m_vip6', 're_e_vip1', 're_e_vip2', 're_e_vip3', 're_e_vip4', 're_e_vip5', 're_e_vip6', 're_b_vip1', 're_b_vip2', 're_b_vip3', 're_b_vip4', 're_b_vip5', 're_b_vip6', 're_p_vip1', 're_p_vip2', 're_p_vip3', 're_p_vip4', 're_p_vip5', 're_p_vip6', 're_px_vip1', 're_px_vip2', 're_px_vip3', 're_px_vip4', 're_px_vip5', 're_px_vip6'], 'number'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'vip1' => 'Vip 1',
            'vip2' => 'Vip 2',
            'vip3' => 'Vip 3',
            'vip4' => 'Vip 4',
            'vip5' => 'Vip 5',
            'vip6' => 'Vip 6',
            'r_vip1' => 'R Vip 1',
            'r_vip2' => 'R Vip 2',
            'r_vip3' => 'R Vip 3',
            'r_vip4' => 'R Vip 4',
            'r_vip5' => 'R Vip 5',
            'r_vip6' => 'R Vip 6',
            'm_vip1' => 'M Vip 1',
            'm_vip2' => 'M Vip 2',
            'm_vip3' => 'M Vip 3',
            'm_vip4' => 'M Vip 4',
            'm_vip5' => 'M Vip 5',
            'm_vip6' => 'M Vip 6',
            'b_vip1' => 'B Vip 1',
            'b_vip2' => 'B Vip 2',
            'b_vip3' => 'B Vip 3',
            'b_vip4' => 'B Vip 4',
            'b_vip5' => 'B Vip 5',
            'b_vip6' => 'B Vip 6',
            'a_vip1' => 'A Vip 1',
            'a_vip2' => 'A Vip 2',
            'a_vip3' => 'A Vip 3',
            'a_vip4' => 'A Vip 4',
            'a_vip5' => 'A Vip 5',
            'a_vip6' => 'A Vip 6',
            'p_vip1' => 'P Vip 1',
            'p_vip2' => 'P Vip 2',
            'p_vip3' => 'P Vip 3',
            'p_vip4' => 'P Vip 4',
            'p_vip5' => 'P Vip 5',
            'p_vip6' => 'P Vip 6',
            'px_vip1' => 'Px Vip 1',
            'px_vip2' => 'Px Vip 2',
            'px_vip3' => 'Px Vip 3',
            'px_vip4' => 'Px Vip 4',
            'px_vip5' => 'Px Vip 5',
            'px_vip6' => 'Px Vip 6',
            're_vip1' => 'Re Vip 1',
            're_vip2' => 'Re Vip 2',
            're_vip3' => 'Re Vip 3',
            're_vip4' => 'Re Vip 4',
            're_vip5' => 'Re Vip 5',
            're_vip6' => 'Re Vip 6',
            're_r_vip1' => 'Re R Vip 1',
            're_r_vip2' => 'Re R Vip 2',
            're_r_vip3' => 'Re R Vip 3',
            're_r_vip4' => 'Re R Vip 4',
            're_r_vip5' => 'Re R Vip 5',
            're_r_vip6' => 'Re R Vip 6',
            're_m_vip1' => 'Re M Vip 1',
            're_m_vip2' => 'Re M Vip 2',
            're_m_vip3' => 'Re M Vip 3',
            're_m_vip4' => 'Re M Vip 4',
            're_m_vip5' => 'Re M Vip 5',
            're_m_vip6' => 'Re M Vip 6',
            're_e_vip1' => 'Re E Vip 1',
            're_e_vip2' => 'Re E Vip 2',
            're_e_vip3' => 'Re E Vip 3',
            're_e_vip4' => 'Re E Vip 4',
            're_e_vip5' => 'Re E Vip 5',
            're_e_vip6' => 'Re E Vip 6',
            're_b_vip1' => 'Re B Vip 1',
            're_b_vip2' => 'Re B Vip 2',
            're_b_vip3' => 'Re B Vip 3',
            're_b_vip4' => 'Re B Vip 4',
            're_b_vip5' => 'Re B Vip 5',
            're_b_vip6' => 'Re B Vip 6',
            're_p_vip1' => 'Re P Vip 1',
            're_p_vip2' => 'Re P Vip 2',
            're_p_vip3' => 'Re P Vip 3',
            're_p_vip4' => 'Re P Vip 4',
            're_p_vip5' => 'Re P Vip 5',
            're_p_vip6' => 'Re P Vip 6',
            're_px_vip1' => 'Re Px Vip 1',
            're_px_vip2' => 'Re Px Vip 2',
            're_px_vip3' => 'Re Px Vip 3',
            're_px_vip4' => 'Re Px Vip 4',
            're_px_vip5' => 'Re Px Vip 5',
            're_px_vip6' => 'Re Px Vip 6',
        ];
    }
}
